home *** CD-ROM | disk | FTP | other *** search
/ BMW 3 Series Presentation / BMW_3Series_Presentation_CD.bin / Xtras / POMatic / Win / PMATIC.DIR / 00016_Script_main screen frame script < prev    next >
Text File  |  1997-01-30  |  1KB  |  17 lines

  1. on exitFrame
  2.   global gPreview
  3.   if the controlDown then
  4.     set the text of cast "info sheet" = ("Preview" && word 2 to (the number of words in the text of cast "info sheet") of the text of cast "info sheet")
  5.     set the text of cast "docs" = ("Preview" && word 2 to (the number of words in the text of cast "docs") of the text of cast "docs")
  6.     set the text of cast "order form" = ("Preview" && word 2 to (the number of words in the text of cast "order form") of the text of cast "order form")
  7.     put true into gPreview
  8.   else
  9.     set the text of cast "info sheet" = ("Print" && word 2 to (the number of words in the text of cast "info sheet") of the text of cast "info sheet")
  10.     set the text of cast "docs" = ("Print" && word 2 to (the number of words in the text of cast "docs") of the text of cast "docs")
  11.     set the text of cast "order form" = ("Print" && word 2 to (the number of words in the text of cast "order form") of the text of cast "order form")
  12.     put false into gPreview
  13.   end if
  14.   
  15.   go to frame (the frame)
  16. end
  17.